import {request} from "./request";

export function getTopdata() {
  return request({
    url: '/api/onlinemall/allianceAjax.html',
    method: 'post',
    data: {
      type:'getTopData'
    }
  })
}
export function getHomeMultidata() {
  return request({
    url: 'http://123.207.32.32:8000/home/multidata'
  })
}
export function getProlist(type, page) {
  return request({
    method: 'post',
    url: '/api/onlinemall/allianceAjax.html',
    data: {
      type: 'prolist',
      pageNum: page,
      orderby: type
    }
  })
}
